﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="IndependentInstituteDynamicListControl.ascx.cs" Inherits="WebPartControls_IndependentInstituteDynamicListControl" %>
<style type="text/css">
    .style1
    {
        width: 24px;
        height: 24px;
    }
    .style2
    {
        width: 10%;
        height: 24px;
    }
    .style3
    {
        width: 60%;
        height: 24px;
    }
    .style4
    {
        height: 24px;
    }
    .style5
    {
        width: 24px;
    }
    .style6
    {
        width: 24px;
        height: 105px;
    }
    .style7
    {
        height: 105px;
    }
</style>
<table style="width:100%;border: 0px;" cellspacing="0px" cellpadding="0px">
    <tr>      
        <td   style="background-repeat:no-repeat;   background-image:url(images/left_arc.jpg);   background-position:bottom   right;" 
            class="style5">
            &nbsp;&nbsp;
            </td>
        <td  colspan="3" style="background-image:url(images/top_line.jpg);   background-position:bottom;">
            </td>   
        <td   style="background-repeat:no-repeat;   background-image:url(images/right_arc.jpg);   background-position:bottom   left;" 
            class="style5">
            &nbsp;&nbsp;
            </td>
                </tr>
    <tr align="left" style="background-color:#f5f6fa; ">
        <td class="style1"  style="background-image:url(images/left_line.jpg);   background-position:right;"></td>
        <td class="style2"><asp:Image ID="Image1" runat="server" ImageUrl="~/images/Column.jpg"/></td>
        <td align="left" class="style3"><asp:Image runat="server" ID="Announcement_Image" ImageUrl="~/images/独立学院动态.jpg"/></td>
        <td class="style4" valign="bottom"><asp:HyperLink runat="server" ID="NoticeMoreHyperLink" 
                NavigateUrl="~/IndependentInstituteDynamicList.aspx" CssClass="MoreHyperLink" 
                ForeColor="#0033CC">更多动态</asp:HyperLink></td>
                <td  style="background-image:url(images/right_line.jpg);   background-position:left;">
                </td>
     </tr>
                 <tr>      
        <td class="style1"   style="background-image:url(images/left_line.jpg);   background-position:right;"></td>
                <td  colspan="3">
                    <asp:Image ID="BarImage" runat="server" ImageUrl="~/images/模块横杠.jpg" />
                </td>
                <td   style="background-image:url(images/right_line.jpg);   background-position:left;">
                </td>
                </tr>
     <tr>
                    <td class="style6"   
                        style="background-image:url(images/left_line.jpg);   background-position:right;"></td>
                    <td  colspan="3" class="style7">
                        <asp:GridView ID='NewsListGridView' runat='server' GridLines="None" 
                            BorderColor="White" ShowHeader="false" AutoGenerateColumns="false" 
                            OnSelectedIndexChanging="NewsListGridView_OnSelectedIndexChange" PageSize="5">
                            <Columns>
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <table style="width:100%; height:22px; border: 0px;" cellspacing="0px" cellpadding="0px">
                                            <tr>
                                                <td style="width:20px"><asp:Image ID="Image3" runat="server" ImageUrl="~/images/NewsIndex.jpg" /></td>
                                                <td><asp:Label ID="News_id" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"标识")%>' Visible="false"></asp:Label></td>
                                                <td><asp:LinkButton ID="News_Title" runat="server" CommandName="Select" Text='<%#DataBinder.Eval(Container.DataItem,"标题")%>' CssClass="Title" 
                                                        Font-Size="Small" ForeColor="#666666" ></asp:LinkButton></td>
                                                <td style="width:5px"></td>
                                                <td><asp:Label runat="server" ID="Date" CssClass="Title gray" Text='<%#DataBinder.Eval(Container.DataItem,"日期")%>'></asp:Label></td>
                                            </tr>
                                         </table>
                                     </ItemTemplate>
                                 </asp:TemplateField>
                            </Columns>
                         </asp:GridView>
                     </td>
                     <td   style="background-image:url(images/right_line.jpg);   background-position:left;" 
                        class="style7">
                     </td>
                  </tr>
                 <tr>      
        <td class="style5"   style="background-repeat:no-repeat;   background-image:url(images/leftbottom_arc.jpg);   background-position:right top;">
            &nbsp;&nbsp;</td>
                <td  colspan="3" style="background-image:url(images/bottom_line.jpg);   background-position:top;">
                    </td>
                <td   style="background-repeat:no-repeat;   background-image:url(images/rightbottom_arc.jpg);   background-position:left top;">
                      </td>
                </tr>                                    
</table>